﻿md -path . -Name dmlcpp

$Elements = "BoostKernel","DMMath","OpenMPKernel","QueryDataManipulation","StlKernel","WinApiKernel"

foreach ($element in $Elements)
{
	md -path .\dmlcpp -Name $element
	md -path .\dmlcpp\$element -Name src
	copy .\$element\src\$element.hpp -Destination .\dmlcpp\$element\src\$element.hpp
}

& "C:\Program Files\WinRAR\rar" a -r "dmlcpp.rar" ".\dmlcpp"

del dmlcpp -Recurse -Confirm:$false
